package com.muyu.system.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * vip套餐包对象 danmo_vip_package
 * 
 * @author yl
 * @date 2025-06-10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoVipPackage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 会员价格（分） */
    @Excel(name = "会员价格", readConverterExp = "分=")
    private Long price;

    /** 会员名称 */
    @Excel(name = "会员名称")
    private String name;

    /** 会员原价 */
    @Excel(name = "会员原价")
    private String original;

    /** 会员信息 */
    @Excel(name = "会员信息")
    private Long infoId;

    /** 删除状态 1删除 0未删除 */
    @Excel(name = "删除状态 1删除 0未删除")
    private Integer deleteFlag;

    /** 时间（月）1 月 3 季度 12 年 -1永久 */
    @Excel(name = "时间", readConverterExp = "月=")
    private Long months;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPrice(Long price) 
    {
        this.price = price;
    }

    public Long getPrice() 
    {
        return price;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOriginal(String original) 
    {
        this.original = original;
    }

    public String getOriginal() 
    {
        return original;
    }
    public void setInfoId(Long infoId) 
    {
        this.infoId = infoId;
    }

    public Long getInfoId() 
    {
        return infoId;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setMonths(Long months) 
    {
        this.months = months;
    }

    public Long getMonths() 
    {
        return months;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("price", getPrice())
            .append("name", getName())
            .append("original", getOriginal())
            .append("infoId", getInfoId())
            .append("deleteFlag", getDeleteFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("months", getMonths())
            .toString();
    }


}
